function person() {
  console.log(this.name);
}

var student = {
  name: 'Xmo'
};

// call方法将person中的this指向指到了student中
person.call(student);
